home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre3.z / postgre3 / src / lib / H / access / xlog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.3 KB  |  76 lines

  1. /*
  2.  * xlog.h --
  3.  *    POSTGRES transaction log definitions.
  4.  *
  5.  * Identification:
  6.  *    $Header: /private/postgres/src/lib/H/access/RCS/xlog.h,v 1.7 1991/05/07 13:57:54 kemnitz Exp $
  7.  */
  8.  
  9. #ifndef    XLogIncluded    /* Include this file only once. */
  10. #define XLogIncluded    1
  11.  
  12. /*
  13.  * InitializeTransactionLog --
  14.  *    Initializes transaction logging.
  15.  */
  16. extern
  17. void
  18. InitializeTransactionLog ARGS((
  19.     void
  20. ));
  21.  
  22. /*
  23.  * TransactionIdDidCommit --
  24.  *    True iff transaction associated with the identifier did commit.
  25.  *
  26.  * Note:
  27.  *    Assumes transaction identifier is valid.
  28.  */
  29. extern
  30. bool
  31. TransactionIdDidCommit ARGS((
  32.     TransactionId    transactionId
  33. ));
  34.  
  35. /*
  36.  * TransactionIdDidAborted --
  37.  *    True iff transaction associated with the identifier did abort.
  38.  *
  39.  * Note:
  40.  *    Assumes transaction identifier is valid.
  41.  *    XXX Is this unneeded?
  42.  */
  43. extern
  44. bool
  45. TransactionIdDidAbort ARGS((
  46.     TransactionId    transactionId
  47. ));
  48.  
  49. /*
  50.  * TransactionIdCommit --
  51.  *    Commits the transaction associated with the identifier.
  52.  *
  53.  * Note:
  54.  *    Assumes transaction identifier is valid.
  55.  */
  56. extern
  57. void
  58. TransactionIdCommit ARGS((
  59.     TransactionId    transactionId
  60. ));
  61.  
  62. /*
  63.  * TransactionIdAbort --
  64.  *    Aborts the transaction associated with the identifier.
  65.  *
  66.  * Note:
  67.  *    Assumes transaction identifier is valid.
  68.  */
  69. extern
  70. void
  71. TransactionIdAbort ARGS((
  72.     TransactionId    transactionId
  73. ));
  74.  
  75. #endif    /* !defined(XLogIncluded) */
  76.